package com.wangdao.wechatmall.bean.vo.wx;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * WXLogin所用到的硬编码
 * created by feng on 7/10/21
 */
@NoArgsConstructor
@Data
public class LoginVO {
    @JsonProperty("userInfo")
    private UserInfoDTO userInfo;
    @JsonProperty("tokenExpire")
    private String tokenExpire;
    @JsonProperty("token")
    private String token;
    @NoArgsConstructor

    @Data
    public static class UserInfoDTO {
        @JsonProperty("nickName")
        private String nickName;
        @JsonProperty("avatarUrl")
        private String avatarUrl;
    }
}